﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CCWOnline.WebControls;

public partial class _Default : AdminPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }


    protected void Pager_PageChanging(object sender, PageChangingEventArgs e)
    {
        BindList(e.NewStartRecordIndex, Pager.PageSize);
    }

    private void BindList(int start, int number)
    {
        int count = 100;
        //this.grvRoleList.DataSource = RoleService.FindAll(start, number, ref count);
        //this.grvRoleList.DataBind();
        Pager.RecordCount = count;
    }
}